#PLACEHOLDER
#"""
+# Value for the Multi-Arch field of the package. If omitted, debcargo will
+# automatically set no value for 'bin', and 'same' for all 'lib' packages.
+#multi_arch = "no|same|foreign|allowed"
+
# Additional Depends on top of the ones generated by debcargo. This should be
# used to pull in system libraries for crates that need them to build. You'll
# want the -dev versions of the library packages, since our crate packages are
section: Option<String>,
summary: Option<String>,
description: Option<String>,
+ multi_arch: Option<String>,
depends: Option<Vec<String>>,
recommends: Option<Vec<String>>,
suggests: Option<Vec<String>>,
self.with_package(key, |pkg| pkg.description.as_deref())
}
+ pub fn package_multi_arch(&self, key: PackageKey) -> Option<&str> {
+ self.with_package(key, |pkg| pkg.multi_arch.as_deref())
+ }
+
pub fn package_depends(&self, key: PackageKey) -> Option<&Vec<String>> {
self.with_package(key, |pkg| pkg.depends.as_ref())
}